<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AddSgroupIdAndLogoDescriptionToSpTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('sps', function (Blueprint $table) {
            $table->integer('sgroup_id')->default(0)->nullable()->unsigned()->comment('sp所属组织ID');
            $table->string('logo', 191)->nullable()->comment('logo');
            $table->string('description')->nullable()->comment('描述');

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
